namespace WtfManager.HierarchicalData
{
  ///<summary>
  /// Represents a root node of <see cref="DataHierarchyService"/> service.
  ///</summary>
  public class Hierarchy: TreeItem
  {
    #region Properties/Indexers


    public override bool IsMovable
    {
      get
      {
        return false;
      }
    }


    #endregion


    #region Methods


    protected override void OnRefresh()
    {
    }


    internal void AddNode(TreeItem hierarchy)
    {
      AddChild(hierarchy);
    }


    internal void RemoveNode(TreeItem hierarchy)
    {
      RemoveChild(hierarchy);
    }


    #endregion
  }
}